package shuishijie.suishijie.model;

import android.text.TextUtils;

/**
 * Created by mindx on 2017/8/29.
 */

public class AddressInfo {

    public String getAddress() {
        return TextUtils.isEmpty(address) ? addressInfo : address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * address : 河北省邯郸市峰峰矿区发发发
     * address_id : 32919
     * identification :
     * isdefault : 0
     * name : www
     * phone : 13122224456
     */

    private String address = "";
    public int address_id;
    public String identification;
    public int isdefault;
    public String name;
    public String phone;


    public void setAddressInfo(String addressInfo) {
        this.addressInfo = addressInfo;
    }

    /**
     * addressInfo : 继续那些年
     * city_id : 4521985
     * district_id : 4521986
     * provinceAndCity : 北京市北京市东城区
     * province_id : 4521984
     */

    private String addressInfo = "";
    public int city_id;
    public int district_id;
    public String provinceAndCity;
    public int province_id;
}
